OBJ=pthread
CC=g++
SRC=mypthread.cc

$(OBJ):$(SRC)
	$(CC) -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -f $(OBJ) 